<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
    <title>软件工程设计-后台管理中心</title>
    <meta content="webkit" name="renderer">
    <meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible">
    <meta content="width=device-width, initial-scale=1" name="viewport">
    <link href="/layui/css/layui.css" rel="stylesheet">
</head>
<body>
<div class="layui-layout layui-layout-admin">
    <div th:replace="~{top::topHtml}"></div>
    <div th:replace="~{nav::navHtml}"></div>
    <div class="layui-body">
        <!-- 内容主体区域 -->
        <div style="padding: 15px;">
            <blockquote class="layui-elem-quote layui-text">
                软件工程设计
            </blockquote>
            <div class="layui-card layui-panel">
                <div style="padding: 15px;">
                    <blockquote class="layui-elem-quote layui-text">
                        软件工程设计
                    </blockquote>
                    <div class="layui-card layui-panel">
                        <table class="layui-table">
                            <!-- 表头 -->
                            <thead>
                            <tr>
                                <th>年级</th>
                                <th>班级</th>
                                <th>姓名</th>
                                <th>组长</th>
                                <th>项目名称</th>
                                <th>分数</th>
                            </tr>
                            </thead>
                            <!-- 表体 -->
                            <tbody>
                            <tr>
                                <td>2021级</td>
                                <td>软件工程4班</td>
                                <td>
            <span onclick="getStuDetail()" style="cursor: pointer">
              <i class='layui-icon layui-icon-about'></i>李天建
            </span>
                                </td>
                                <td>灰灰老师</td>
                                <td>软件工程设计</td>
                                <td>
                                    10&ensp;&ensp;
                                    <span lay-on="test-iframe-curl" onclick="console.log(1)" style="cursor: pointer">
                      <i class='layui-icon layui-icon-about'></i>分数详情
                  </span>
                                </td>
                            </tr>
                            <tr>
                                <td>2021级</td>
                                <td>软件工程4班</td>
                                <td>
            <span onclick="getStuDetail()" style="cursor: pointer">
              <i class='layui-icon layui-icon-about'></i>李天建
            </span>
                                </td>
                                <td>灰灰老师</td>
                                <td>软件工程设计</td>
                                <td>
                                    10&ensp;&ensp;
                                    <span lay-on="test-iframe-curl" onclick="console.log(1)" style="cursor: pointer">
                      <i class='layui-icon layui-icon-about'></i>分数详情
                  </span>
                                </td>
                            </tr>
                            <tr>
                                <td>2021级</td>
                                <td>软件工程4班</td>
                                <td>
            <span onclick="getStuDetail()" style="cursor: pointer">
              <i class='layui-icon layui-icon-about'></i>李天建
            </span>
                                </td>
                                <td>灰灰老师</td>
                                <td>软件工程设计</td>
                                <td>
                                    10&ensp;&ensp;
                                    <span lay-on="test-iframe-curl" onclick="console.log(1)" style="cursor: pointer">
                      <i class='layui-icon layui-icon-about'></i>分数详情
                  </span>
                                </td>
                            </tr>
                            <tr>
                                <td>2021级</td>
                                <td>软件工程4班</td>
                                <td>
            <span onclick="getStuDetail()" style="cursor: pointer">
              <i class='layui-icon layui-icon-about'></i>李天建
            </span>
                                </td>
                                <td>灰灰老师</td>
                                <td>软件工程设计</td>
                                <td>
                                    10&ensp;&ensp;
                                    <span lay-on="test-iframe-curl" onclick="console.log(1)" style="cursor: pointer">
                      <i class='layui-icon layui-icon-about'></i>分数详情
                  </span>
                                </td>
                            </tr>
                            <tr>
                                <td>2021级</td>
                                <td>软件工程4班</td>
                                <td>
            <span onclick="getStuDetail()" style="cursor: pointer">
              <i class='layui-icon layui-icon-about'></i>李天建
            </span>
                                </td>
                                <td>灰灰老师</td>
                                <td>软件工程设计</td>
                                <td>
                                    10&ensp;&ensp;
                                    <span lay-on="test-iframe-curl" onclick="console.log(1)" style="cursor: pointer">
                      <i class='layui-icon layui-icon-about'></i>分数详情
                  </span>
                                </td>
                            </tr>
                            <tr>
                                <td>2021级</td>
                                <td>软件工程4班</td>
                                <td>
            <span onclick="getStuDetail()" style="cursor: pointer">
              <i class='layui-icon layui-icon-about'></i>李天建
            </span>
                                </td>
                                <td>灰灰老师</td>
                                <td>软件工程设计</td>
                                <td>
                                    10&ensp;&ensp;
                                    <span lay-on="test-iframe-curl" onclick="console.log(1)" style="cursor: pointer">
                      <i class='layui-icon layui-icon-about'></i>分数详情
                  </span>
                                </td>
                            </tr>
                            <tr>
                                <td>2021级</td>
                                <td>软件工程4班</td>
                                <td>
            <span onclick="getStuDetail()" style="cursor: pointer">
              <i class='layui-icon layui-icon-about'></i>李天建
            </span>
                                </td>
                                <td>灰灰老师</td>
                                <td>软件工程设计</td>
                                <td>
                                    10&ensp;&ensp;
                                    <span lay-on="test-iframe-curl" onclick="console.log(1)" style="cursor: pointer">
                      <i class='layui-icon layui-icon-about'></i>分数详情
                  </span>
                                </td>
                            </tr>
                            <tr>
                                <td>2021级</td>
                                <td>软件工程4班</td>
                                <td>
            <span onclick="getStuDetail()" style="cursor: pointer">
              <i class='layui-icon layui-icon-about'></i>李天建
            </span>
                                </td>
                                <td>灰灰老师</td>
                                <td>软件工程设计</td>
                                <td>
                                    10&ensp;&ensp;
                                    <span lay-on="test-iframe-curl" onclick="console.log(1)" style="cursor: pointer">
                      <i class='layui-icon layui-icon-about'></i>分数详情
                  </span>
                                </td>
                            </tr>
                            <tr>
                                <td>2021级</td>
                                <td>软件工程4班</td>
                                <td>
            <span onclick="getStuDetail()" style="cursor: pointer">
              <i class='layui-icon layui-icon-about'></i>李天建
            </span>
                                </td>
                                <td>灰灰老师</td>
                                <td>软件工程设计</td>
                                <td>
                                    10&ensp;&ensp;
                                    <span lay-on="test-iframe-curl" onclick="console.log(1)" style="cursor: pointer">
                      <i class='layui-icon layui-icon-about'></i>分数详情
                  </span>
                                </td>
                            </tr>
                            <tr>
                                <td>2021级</td>
                                <td>软件工程4班</td>
                                <td>
            <span onclick="getStuDetail()" style="cursor: pointer">
              <i class='layui-icon layui-icon-about'></i>李天建
            </span>
                                </td>
                                <td>灰灰老师</td>
                                <td>软件工程设计</td>
                                <td>
                                    10&ensp;&ensp;
                                    <span lay-on="test-iframe-curl" onclick="console.log(1)" style="cursor: pointer">
                      <i class='layui-icon layui-icon-about'></i>分数详情
                  </span>
                                </td>
                            </tr>
                            </tbody>
                        </table>
                    </div>
                    <div id="page" style="text-align: center; margin-top: 10px;"></div>
                </div>
            </div>
            <br><br>
        </div>
    </div>
    <div th:replace="~{footer::footerHtml}"></div>
</div>

<script src="/layui/layui.js"></script>


<script>
    function getStuDetail() {
        window.location.href = "/ltj/stuInfoDetail"
    }
</script>


<script>
    layui.use(['table', 'laypage'], function () {
        var table = layui.table;
        var laypage = layui.laypage;

        // 渲染表格
        table.render({
            elem: '.layui-table',
            even: true, // 开启隔行背景
            page: true // 开启分页
        });

        // 监听分页器的页码点击事件
        laypage.render({
            elem: 'page', // 分页器的容器ID
            count: 100, // 数据总数
            limit: 5, // 每页显示的数据条数
            limits: [5, 10, 20],
            first: '首页',
            last: '尾页',
            layout: ['count', 'prev', 'page', 'next', 'limit'],
            jump: function (obj) {
                console.log(obj.curr)
                console.log(obj.limit)
            }
        });
    });
</script>

<script>
    //JS
    layui.use(['element', 'layer', 'util'], function () {
        var element = layui.element;
        var layer = layui.layer;
        var util = layui.util;
        var $ = layui.$;

        //头部事件
        util.event('lay-header-event', {
            menuLeft: function (othis) { // 左侧菜单事件
                layer.msg('展开左侧菜单的操作', {icon: 0});
            },
            menuRight: function () {  // 右侧菜单事件
                layer.open({
                    type: 1,
                    title: '更多',
                    content: '<div style="padding: 15px;">处理右侧面板的操作</div>',
                    area: ['260px', '100%'],
                    offset: 'rt', // 右上角
                    anim: 'slideLeft', // 从右侧抽屉滑出
                    shadeClose: true,
                    scrollbar: false
                });
            }
        });
    });
</script>
<script>
    layui.use(function () {
        var $ = layui.$;
        var layer = layui.layer;
        var util = layui.util;
        // 事件
        util.on('lay-on', {
            'test-iframe-curl': function () {
                layer.open({
                    type: 2,
                    title: '<i class=\'layui-icon layui-icon-username\'></i>李天建的分数详情',
                    shadeClose: true,
                    maxmin: true, //开启最大化最小化按钮
                    area: ['600px', '320px'],
                    content: '/ltj/scoreDetail'
                });
            }
        })
    });
</script>
</body>
</html>